package com.dj.bean;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author cyf
 * @description 检查申请表，对应库表fhir_history_procedure_request
 * @create 2018-06-27 14:14
 */
@Entity
@Table(name = "fhir_history_procedure_request")
public class ProcedureRequestHistoryBean {

    /**
     * 资源id  uuid
     */
    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    private String id;

    /**
     * 对应检查申请表中的id
     */
    private String validVersionId;

    /**
     * 版本号 包括新增和更新的所有版本号
     */
    private String version;

    /**
     * 历史内容
     */
    private String content;

    /**
     * 创建时间
     */
    private Date createTime;



    /*get set*/

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getValidVersionId() {
        return validVersionId;
    }

    public void setValidVersionId(String validVersionId) {
        this.validVersionId = validVersionId;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
